<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="com.blockchain.common.enums.IsPass"%>
<html>
<head>
<%String str = languageDefine.getValue(request, "menu_safeCenter");
	String _TITLE_ = str + "- "+configureProvider.getProperty(SystemVariable.SITE_NAME);
	languageDefine.getLangBaseName();
	CURRENT_SUB_CATEGORY="AQZX"; 
 	PC_TITLE_NAME="AQZX";%>
<title><%=_TITLE_ %></title>
<%@include file="/WEB-INF/include/meta.jsp"%>
<%@include file="/WEB-INF/include/style.jsp"%>
</head>
<%@include file="/WEB-INF/include/header.jsp"%>
<%@include file="/WEB-INF/include/authenticatedSession.jsp"%>
<%@include file="/WEB-INF/include/sfrz.jsp"%>
 <div class="autobox">
 <div class="now">
  <a href="<%=controller.getViewURI(request, com.blockchain.front.servlets.Index.class)%>" class="orange"><%=languageDefine.getValue(request, "menu_home")%></a>&gt; <a href="<%=controller.getViewURI(request, com.blockchain.front.servlets.security.index.class)%>" class="orange"><%=languageDefine.getValue(request, "menu_safeCenter")%></a> &gt; <%=languageDefine.getValue(request, "accountSettings_accountSettings")%>
 </div>
 <div class="assets_center clear po_re zin70">
 	<%@include file="/WEB-INF/include/aqzx/left.jsp"%>
  <div class="assets_content w900 right bg_w" id="safebox">
   <div class="safe_center clear" style="padding-left: 0px;">
   <h1 style="margin-top: 0px; margin-bottom: 15px; line-height: 15px;"><%=languageDefine.getValue(request, "accountSettings_accountSettings")%></h1>
   </div>
   <%UserManage userManage=serviceSession.getService(UserManage.class);
   	 User user=userManage.getUser();
     int i=4;
     if(!StringHelper.isEmpty(user.iphone)&&!StringHelper.isEmpty(user.username)){
		i=3;  
   	 }
	 if(!StringHelper.isEmpty(user.name)&&!StringHelper.isEmpty(user.zjh)){
		i=2; 
	 }
	 if(user.gjrz!=null&&user.gjrz==IsPass.S){
	    i=1; 
	 }%>
   <div class="sj" style="top: 40px; left: 60px;"></div>
   <div class="safe_center clear" style="border-bottom:none;">
    <div class="sc_level">
       <div class="sc_level_<%=i%>"></div>
    </div>
    <dl>
     <dt>
      ID:<span><%=user.userid%></span>
     </dt>
     <dd><%=languageDefine.getValue(request, "accountSettings_name")%>:<%StringHelper.filterHTML(out,user.name);%></dd>
     <dd><%=languageDefine.getValue(request, "accountSettings_username")%>：<%StringHelper.filterHTML(out,user.iphone);%></dd>
    </dl>
    
    <dl style="margin-left:9%">
    <dt >
           <%=languageDefine.getValue(request, "vcode_addr")%>：
        </dt>
        <dt>
           <button class="btn" style=" margin-top: 5%; margin-bottom: 5%; border-radius: 8px;
            background: transparent;
            padding-top: 5px;
            padding-bottom: 7px;
            padding-left: 10px;
            padding-right: 10px;" data-clipboard-action="copy" data-clipboard-target="#toCopyId"><%=languageDefine.getValue(request, "vcode_addr_coppy")%></button>
        </dt>
    </dl>
    <div class="sc_level">
            <img  width="100" src="/ewm.htm?_code=http://www.btbexchange.com/register.html?vcode=btb<%StringHelper.filterHTML(out, user.code);%>" alt=""/>
           
    </div>
    
    <div id="toCopyId" style="
    padding-top: 10px;
    display: -webkit-box;
    width: 150px;">http://www.btbexchange.com/register.html?lang=zh&vcode=btb<%StringHelper.filterHTML(out, user.code);%></div>
   </div>
   <ul class="sc_statu">
    <li style="width: 47%; border-right: none;"><em class="sc_statu_type<%if(StringHelper.isEmpty(user.name)&&StringHelper.isEmpty(user.zjh)){%>_2<%}%>_1"></em>
	  <dl>
	    <dt><%=languageDefine.getValue(request, "accountSettings_verified")%></dt>
	    <dd class="<%if(StringHelper.isEmpty(user.name)&&StringHelper.isEmpty(user.zjh)){%>nopass "><%=languageDefine.getValue(request, "accountSettings_verifiedNotOk")%><%}else{%>alpass"><%=languageDefine.getValue(request, "accountSettings_verifiedOk")%><%}%><a href="<%=controller.getViewURI(request, Smrz.class)%>"><%=languageDefine.getValue(request, "accountSettings_view")%></a></dd> 
	  </dl>           
    </li>
    <li style=" width: 47%; border-right: none;"> <em class="sc_statu_type_3"></em>
     <dl>
      <dt><%=languageDefine.getValue(request, "accountSettings_bindPhone")%></dt>
       <dd class="<%if(StringHelper.isEmpty(user.iphone)&&StringHelper.isEmpty(user.username)){%>nopass "><%=languageDefine.getValue(request, "accountSettings_verifiedNotOk")%><%}else{%>alpass"><%=languageDefine.getValue(request, "accountSettings_verifiedOk")%><%}%></dd> 
     </dl></li>
   </ul>
   <div class="sc_info_list" id="sc_info_list">
    <dl>
     <dt><%=languageDefine.getValue(request, "accountSettings_loginPassword")%></dt>
     <dd>
      <p><%=languageDefine.getValue(request, "accountSettings_inLogin")%></p>
     </dd>
     <dd>
      <div class="changepw">
       <a href="<%=controller.getViewURI(request,UpdateLogin.class)%>"><%=languageDefine.getValue(request, "accountSettings_modifyLoginPassword")%></a>
      </div>
     </dd>
    </dl>
    <dl>
     <dt><%=languageDefine.getValue(request, "accountSettings_tradePassword")%></dt>
     <dd>
      <p><%=languageDefine.getValue(request, "accountSettings_inTrade")%></p>
     </dd>
     <dd>
      <div class="changepw">
       <a href="<%=controller.getViewURI(request,UpdateJymm.class)%>"><%=languageDefine.getValue(request, "accountSettings_modifyTradePassword")%></a>
      </div>
     </dd>
    </dl>
    <dl>
     <dt><%=languageDefine.getValue(request, "accountSettings_verified")%></dt>
     <dd>
      <p><%=languageDefine.getValue(request, "accountSettings_forSafe")%></p>
     </dd>
     <dd>
      <div class="changepw">
    		 <%if(StringHelper.isEmpty(user.name)&&StringHelper.isEmpty(user.zjh)){%> <%=languageDefine.getValue(request, "accountSettings_verifiedNotOk")%><%}else{%><%=languageDefine.getValue(request, "accountSettings_verifiedOk")%><%}%>                      <a href="<%=controller.getViewURI(request, Smrz.class)%>"><%=languageDefine.getValue(request, "accountSettings_view")%></a>
      </div>
     </dd>
    </dl>
    <dl>
     <dt><%=languageDefine.getValue(request, "accountSettings_phoneBind")%></dt>
     <dd>
      <p><%StringHelper.filterHTML(out,user.iphone);%></p>
     </dd>
     <dd>
      <div class="changepw">
           	<%=languageDefine.getValue(request, "accountSettings_binded")%>
       </div>
     </dd>
    </dl>
   </div>
  </div>
 </div>
</div>
<%@include file="/WEB-INF/include/footer.jsp"%>
<%@include file="/WEB-INF/include/script.jsp"%>
</body>
    <script src="/js/clipboard.min.js"></script>
    <script>
        var clipboard = new Clipboard('.btn');

        clipboard.on('success', function(e) {
            alert("已复制");
        });

        clipboard.on('error', function(e) {
            alert("手机不兼容");
        });
    </script>
</html>